/**
 * @authors YaoRen (hongjiawei@uworks.cc)
 * @date    2017-01-09 13:55:41
 */

.mod-friends{
    padding: 50px 0 100px;
}
.mod-friends .title{
    font-size: 20px;
    color: #3b3c44;
    text-align: center;
    margin-bottom: 35px;
}
.mod-friends .title.title-sub{
    font-size: 16px;
    color: #666;
    position: relative;
    margin: 0 69px 35px;
}
.mod-friends .title.title-sub span{
    display: inline-block;
    background-color: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}
.mod-friends .title.title-sub i{
    display: block;
    width: 100%;
    height: 1px;
    background-color: #f2f2f2;
    position: absolute;
    top: 50%;
}
.tabs-list{
    margin: 0 69px 35px;
    -webkit-transition: linear 0.2s;
    -o-transition: linear 0.2s;
    transition: linear 0.2s;
}
.tabs-list li{
    float: left;
    width: 31.33%;
    margin: 1%;
    background: #fff;
    border: 1px solid #ececec;
    box-sizing: border-box;
    -webkit-transition: linear 0.2s;
    -o-transition: linear 0.2s;
    transition: linear 0.2s;
}
.tabs-list li:hover{
    border: 1px solid #fcc71c;
}
.tabs-list li a{
    display: block;
    box-sizing: border-box;
    padding: 9% 5%;
}
.tabs-list li .iconbox{
    float: left;
    text-align: right;
    margin-right: 5%;
    width: 35%;
}
.tabs-list li .icon{
    display: inline-block;
    width: 60px;
    height: 60px;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transition: linear 0.2s;
    -o-transition: linear 0.2s;
    transition: linear 0.2s;
}
.tabs-list li .icon.icon-1{
    background-image: url(../images/friends_touzi.png);
}
.tabs-list li:hover .icon.icon-1{
    background-image: url(../images/friends_touzi_c.png);
}
.tabs-list li .icon.icon-2{
    background-image: url(../images/friends_fuwu.png);
}
.tabs-list li:hover .icon.icon-2{
    background-image: url(../images/friends_fuwu_c.png);
}
.tabs-list li .icon.icon-3{
    background-image: url(../images/friends_kongjian.png);
}
.tabs-list li:hover .icon.icon-3{
    background-image: url(../images/friends_kongjian_c.png);
}
.tabs-list li dl{
    float: left;
    width: 60%;
    padding-top: 5px;
}
.tabs-list li dt{
    font-size: 18px;
    color: #3b3c44;
    line-height: 25px;
}
.tabs-list li dd{
    margin-top: 5px;
    font-size: 14px;
    color: #a1a1a1;
    line-height: 20px;
}
.friends-list{
    margin: 0 69px;
    -webkit-transition: linear 0.2s;
    -o-transition: linear 0.2s;
    transition: linear 0.2s;
}
.friends-list li{
    float: left;
    width: 23%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ececec;
    margin: 1%;
    -webkit-transition: linear 0.2s;
    -o-transition: linear 0.2s;
    transition: linear 0.2s;
}
.friends-list li a{
    display: block;
    box-sizing: border-box;
    padding: 5%;
}
.friends-list li:hover,
.friends-list li:active{
    border: 1px solid #fff;
    box-shadow: 0 0 10px 5px #f4f4f4;
}
.friends-list li .pic{
    display: table;
    width: 100%;
}
.friends-list li .pic .pic-box{
    width: 100%;
    height: 60px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.friends-list li .pic img{
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}
.friends-list li .name{
    text-align: center;
    font-size: 12px;
    color: #a1a1a1;
    line-height: 20px;
    margin-top: 3px;
}

/*移动端*/
@media screen and (max-width: 1139px) {
    .box-bor{
        border-left: none;
        border-right: none;
    }
}
@media screen and (max-width: 960px) {
    .tabs-list li dd{
        height: 40px;
    }
    .friends-list{
        margin: 0 69px;
    }
    .friends-list li{
        width: 31.33%;
        margin: 1%;
    }
}
@media screen and (max-width: 660px) {
    .mod-friends{
        padding: 50px 0 50px;
    }
    .tabs-list{
        margin: 0 40px 35px;
    }
    .tabs-list li{
        width: 96%;
        margin: 2%;
    }
    .tabs-list li dd{
        height: auto;
    }
    .friends-list{
        margin: 0 40px;
    }
    .friends-list li{
        width: 46%;
        margin: 2%;
    }
    .friends-list li .pic .pic-box{
        height: 60px;
    }
}
@media screen and (max-width: 425px) {
    .friends-list li{
        width: 96%;
        margin: 2%;
    }
}
@media screen and (max-width: 320px) {
    .tabs-list{
        margin: 0 30px 35px;
    }
    .friends-list{
        margin: 0 30px;
    }
}
